package jy.service;

import java.util.List;

import jy.pageModel.Account;
import jy.pageModel.DataGrid;
import jy.pageModel.PageHelper;
import jy.pageModel.SessionInfo;
import jy.pageModel.User;

/**
 * 用户Service
 * 
 * @author 孙宇
 * 
 */
public interface AccountServiceI {

	/**
	 * 获取用户数据表格
	 * 
	 * @param account
	 * @return
	 */
	public DataGrid dataGrid(Account account, PageHelper ph);

	/**
	 * 添加用户
	 * 
	 * @param account
	 */
	public Integer add(Account account) throws Exception;

	/**
	 * 获得用户对象
	 * 
	 * @param id
	 * @return
	 */
	public User get(String id);



	/**
	 * 删除用户
	 * 
	 * @param id
	 */
	public void delete(String id);



	public DataGrid recdataGrid(Account account, PageHelper ph);

	public Account hqde(Account account);

	public Account hqdr(Account account);

	public Account hqtr(Account account);
	
	public Account dqde(Account account);

	public Account dqdr(Account account);

	
	public Account dhde(Account account);

	public Account dhdr(Account account);


	public Account loadAmount(Account account);

	public DataGrid dqdataGrid(Account account, PageHelper ph);

	public DataGrid dhdataGrid(Account account, PageHelper ph);


	

}
